<template>
  <div>
    <v-overlay :value="layerShow" :opacity="0.2">
      <v-progress-circular
        class="mb-5"
        indeterminate
        :size="110"
        :width="20"
      ></v-progress-circular>
    </v-overlay>
  </div>
</template>

<script>
export default {
  data() {
    return {
      layerShow: false,
      timeout: null
    }
  },
  methods: {
    show() {
      this.layerShow = true
    },
    hide() {
      clearTimeout(this.timeout)
      this.timeout = setTimeout(() => {
        this.layerShow = false
      }, 800)
    }
  }
}
</script>

<style scoped>

</style>